#include<iostream>
#include"LinkList.h"
using namespace std;
int main(){
    LinkList<int> t;
    int n; int arr[100] = {0};
    cout << "请输入要输入一元多项式的项数：" << endl;
    cin >> n;
    cout << "请按顺序输入系数和指数的值：" << endl;
    for (int i = 0; i < n * 2; i++){
        cin >> arr[i];
    }
    t.InitializeTail(arr, n);
    t.DisplayList();
}
